package org.jeecg.modules.wlhy.invoice.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: hy_invoice
 * @Author: jeecg-boot
 * @Date:   2021-04-14
 * @Version: V1.0
 */
@Data
public class HyInvoiceDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**运输费*/
    @Excel(name = "运输费", width = 15)
    @TableField(exist = false)
    private String ysf="运输费";

    /**计量单位*/
    @TableField(exist = false)
    @Excel(name = "计量单位", width = 15)
    private String jldw="吨";

    /**规格型号*/
    @TableField(exist = false)
    @Excel(name = "规格型号", width = 15)
    private String ggxh;




    @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    @TableField(exist = false)
    private String invoiceGoodsWeightStr;


    /**数量*/
    @ApiModelProperty(value = "数量")
    private BigDecimal invoiceGoodsWeight;

    /**金额*/
    @Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    @TableField(exist = false)
    private String invoiceAmtStr;



    /**金额*/
    @ApiModelProperty(value = "金额")
    private BigDecimal invoiceAmt;


    /**税率*/
    @Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "税率")
    @TableField(exist = false)
    private String invoiceRateStr;



    /**税额*/
    @Excel(name = "税额", width = 15)
    @ApiModelProperty(value = "税额")
    @TableField(exist = false)
    private String invoiceTaxStr;



    /**单价*/
    @Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    @TableField(exist = false)
    private String invoicePriceStr;


    /**价格方式*/
    @Excel(name = "价格方式", width = 15)
    @ApiModelProperty(value = "价格方式")
    @TableField(exist = false)
    private String jgfs;

    public String getJgfs() {
        if(this.jgfs!=null){
            return this.jgfs;
        }else{
            return "1";
        }
    }

    public void setJgfs(String jgfs) {
        this.jgfs = jgfs;
    }

    /**税收分类编码版本号*/
    @Excel(name = "税收分类编码版本号", width = 15)
    @ApiModelProperty(value = "税收分类编码版本号")
    @TableField(exist = false)
    private String ssflbmbb;

    public String getSsflbmbb() {
        if(this.ssflbmbb!=null){
            return this.ssflbmbb;
        }else{
            return "39.0";
        }
    }

    public void setSsflbmbb(String ssflbmbb) {
        this.ssflbmbb = ssflbmbb;
    }

    /**税收分类编码*/
    @Excel(name = "税收分类编码", width = 15)
    @ApiModelProperty(value = "税收分类编码")
    @TableField(exist = false)
    private String ssflbm;

    public String getSsflbm() {
        if(this.ssflbm!=null){
            return this.ssflbm;
        }else{
            return "3010502020200000000";
        }
    }

    public void setSsflbm(String ssflbm) {
        this.ssflbm = ssflbm;
    }

    /**使用优惠政策标识*/
    @Excel(name = "使用优惠政策标识", width = 15)
    @TableField(exist = false)
    private String yhzc="0";

    /**中外合作油气田标识*/
    @Excel(name = "中外合作油气田标识", width = 15)
    @TableField(exist = false)
    private String zw="0";

    /**司机电话*/
    @Excel(name = "司机电话", width = 15)
    @TableField(exist = false)
    private String sjdh;

    /**司机身份证号*/
    @Excel(name = "司机身份证号", width = 15)
    @TableField(exist = false)
    private String sjsfzh;

}
